package io.wdb.modules.activity.wx.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.wdb.modules.activity.wx.dao.UserChannelInfoDao;
import io.wdb.modules.activity.wx.entity.UserChannelInfoEntity;
import io.wdb.modules.activity.wx.service.UserChannelInfoService;



@Service("userChannelInfoService")
public class UserChannelInfoServiceImpl implements UserChannelInfoService {
	@Autowired
	private UserChannelInfoDao userChannelInfoDao;
	
	@Override
	public UserChannelInfoEntity queryObject(Long id){
		return userChannelInfoDao.queryObject(id);
	}
	
	@Override
	public List<UserChannelInfoEntity> queryList(Map<String, Object> map){
		return userChannelInfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return userChannelInfoDao.queryTotal(map);
	}
	
	@Override
	public void save(UserChannelInfoEntity userChannelInfo){
		userChannelInfoDao.save(userChannelInfo);
	}
	
	@Override
	public void update(UserChannelInfoEntity userChannelInfo){
		userChannelInfoDao.update(userChannelInfo);
	}
	
	@Override
	public void delete(Long id){
		userChannelInfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		userChannelInfoDao.deleteBatch(ids);
	}
	
}
